package org.adoxx.emf2leo.service.webservice;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 2.7.3
 * 2013-03-22T12:26:30.761+01:00
 * Generated source version: 2.7.3
 * 
 */
@WebServiceClient(name = "EMF2LEOWebServiceService", 
                  wsdlLocation = "http://www.adoxx.org/EMF2LEO/services/EMF2LEOWebServicePort?wsdl",
                  targetNamespace = "http://webservice.service.emf2leo.adoxx.org/") 
public class EMF2LEOWebServiceService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://webservice.service.emf2leo.adoxx.org/", "EMF2LEOWebServiceService");
    public final static QName EMF2LEOWebServicePort = new QName("http://webservice.service.emf2leo.adoxx.org/", "EMF2LEOWebServicePort");
    static {
        URL url = null;
        try {
            url = new URL("http://www.adoxx.org/EMF2LEO/services/EMF2LEOWebServicePort?wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(EMF2LEOWebServiceService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "http://www.adoxx.org/EMF2LEO/services/EMF2LEOWebServicePort?wsdl");
        }
        WSDL_LOCATION = url;
    }

    public EMF2LEOWebServiceService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public EMF2LEOWebServiceService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public EMF2LEOWebServiceService() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns EMF2LEOWebService
     */
    @WebEndpoint(name = "EMF2LEOWebServicePort")
    public EMF2LEOWebService getEMF2LEOWebServicePort() {
        return super.getPort(EMF2LEOWebServicePort, EMF2LEOWebService.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns EMF2LEOWebService
     */
    @WebEndpoint(name = "EMF2LEOWebServicePort")
    public EMF2LEOWebService getEMF2LEOWebServicePort(WebServiceFeature... features) {
        return super.getPort(EMF2LEOWebServicePort, EMF2LEOWebService.class, features);
    }

}